package com.chengwang.bookstory.service;

import com.chengwang.bookstory.pojo.MyShop;
import com.chengwang.bookstory.pojo.ShopList;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShopService {
    void add(String userAccount, String bookId,int shopNumber);

    List<ShopList> queryAllShop(String userAccount);

    List<MyShop> queryAllMyShop(String userAccount);

    void deleteAll(String userAccount);

    void delById(String userAccount, String bookId,String time);
}
